This category contains the Information functions.
ここでは、情報 関数について説明します。
|
To access this command...この機能の見つけ方 |
The data in the following table serves as the basis for some of the examples in the function descriptions:
いくつかの関数の説明では、次の表を例として使用します。
|
C
|
D
|
|
|
2
|
x value
|
y value
|
|
3
|
-5
|
-3
|
|
4
|
-2
|
0
|
|
5
|
-1
|
1
|
|
6
|
0
|
3
|
|
7
|
2
|
4
|
|
8
|
4
|
6
|
|
9
|
6
|
8
|
Returns specific information about the current working environment. The function receives a single text argument and returns data depending on that parameter.
現在の作業環境に固有の情報を返します。この関数は、1 つのテキスト引数を受け取って、パラメータに応じてデータを返します。
INFO("Type")
INFO("Type")
The following table lists the values for the text parameter Type and the return values of the INFO function.
次の表は、テキストパラメータ「タイプ」の値と INFO 関数の戻り値を一覧表示します。
|
Value for "Type"
|
Return value
|
|
"osversion"
|
Always "Windows (32-bit) NT 5.01", for compatibility reasons
|
|
"system"
|
The type of the operating system. |
|
"release"
|
The product release identifier, for example "300m25(Build:9876)"
|
|
"numfile"
|
Always 1, for compatibility reasons
|
|
"recalc"
|
Current formula recalculation mode, either "Automatic" or "Manual" (localized into Office language)
|
![]() | Other spreadsheet applications may accept localized values for the Type parameter, but Office Calc will only accept the English values.
そのほかの表計算アプリケーションは Type パラメータのローカライズされた値を受け付けることもありますが、Office Calc は英語の値だけを受け付けます。 |
=INFO("release") returns the product release number of the Office in use.
=INFO("release") は、使用されている Office の製品リリース番号を返します。
=INFO(D5) with cell D5 containing a text string system returns the operation system type.
セル D5 がテキスト文字列 system を含む場合、=INFO(D5) はオペレーティングシステムのタイプを返します。
This function returns the result to date of evaluating the formula of which it is a part (in other words the result as far as that evaluation has got). Its main use is together with the STYLE() function to apply selected styles to a cell depending on the cell contents.
この関数は、この関数が一部となっている数式を評価する日付に対して、結果 (つまり、評価で取得した部分の結果) を返します。主に、セルの内容によって選択したスタイルをセルに適用する STYLE() 関数とともに使用されます。
CURRENT()
CURRENT()
=1+2+CURRENT()
=1+2+CURRENT()
The example returns 6. The formula is calculated from left to right as: 1 + 2 equals 3, giving the result to date when CURRENT() is encountered; CURRENT() therefore yields 3, which is added to the original 3 to give 6.
この例は、6 を返します。数式は、1 + 2 = 3 のように左から右に計算され、CURRENT() が実行される日付に結果を返します。したがって、CURRENT() には 3 が入り、これが元の 3 に追加されて 6 になります。
=A2+B2+STYLE(IF(CURRENT()>10;”Red”;”Default”))
=A2+B2+STYLE(IF(CURRENT()>10;”Red”;”Default”))
The example returns A2 + B2 (STYLE returns 0 here). If this sum is greater than 10, the style Red is applied to the cell. See the STYLE function for more explanation.
この例は、A2 + B2 を返します。ここで、STYLE は 0 を返します。この合計が 10 より大きい場合、スタイル Red がセルに適用されます。詳細は、STYLE 関数を参照してください。
="choo"&CURRENT()
="choo"&CURRENT()
The example returns choochoo.
この例は、choochoo を返します。
Displays the formula of a formula cell as a text string.
数式セルの数式を文字列として表示します。
FORMULA(Reference)
FORMULA(参照)
Reference is a reference to a cell containing a formula.
Reference は、数式を含むセルの参照です。
An invalid reference or a reference to a cell with no formula results in the error value #N/A.
無効な参照や数式のないセルへの参照の場合、エラー値「#N/A」が返されます。
If cell A8 contains the formula =SUM(1;2;3) then
セル A8 が数式 =SUM(1;2;3) を含む場合は、次のようになります。
=FORMULA(A8) returns the text =SUM(1;2;3).
=FORMULA(A8) は、テキスト =SUM(1;2;3) を返します。
Tests if the argument is a reference. Returns TRUE if the argument is a reference, returns FALSE otherwise. When given a reference this function does not examine the value being referenced.
引数が参照であるかどうかをテストします。 引数が参照の場合は TRUE を返し、それ以外の場合は FALSE を返します。 参照が提供されている場合、この関数は参照される値を調べません。
ISREF(Value)
ISREF(値)
Value is the value to be tested, to determine whether it is a reference.
値 は参照かどうかを検査する値です。
=ISREF(C5) returns the result TRUE because C5 is a valid reference.
C5 は有効な参照なので、=ISREF(C5) は結果 TRUE を返します。
=ISREF("abcdef") returns always FALSE because a text can never be a reference.
テキストが参照になることは絶対にないので、=ISREF("abcdef") は常に FALSE を返します。
=ISREF(4) returns FALSE.
=ISREF(4) は、FALSE を返します。
=ISREF(INDIRECT("A6")) returns TRUE, because INDIRECT is a function that returns a reference.
INDIRECT は参照を返す関数なので、=ISREF(INDIRECT("A6")) は TRUE を返します。
=ISREF(ADDRESS(1; 1; 2;"Sheet2")) returns FALSE, because ADDRESS is a function that returns a text, although it looks like a reference.
ADDRESS は参照のように見えますが、テキストを返す関数なので、=ISREF(ADDRESS(1; 1; 2;"Sheet2")) は FALSE を返します。
Tests for error conditions, except the #N/A error value, and returns TRUE or FALSE.
#N/A エラー値を除くエラー状態をテストし、TRUE または FALSE を返します。
ISERR(Value)
ISERR(値)
Value is any value or expression which is tested to see whether an error value other than #N/A is present.
値 は #N/A 以外のエラー値があるかどうかをテストされる値または数式です。
=ISERR(C8) where cell C8 contains =1/0 returns TRUE, because 1/0 is an error.
1/0 はエラーなので、セル C8 に =1/0 が含まれる =ISERR(C8) は、TRUE を返します。
=ISERR(C9) where cell C9 contains =NA() returns FALSE, because ISERR() ignores the #N/A error.
ISERR() は #N/A エラーを無視するので、セル C9 に =NA() が含まれる =ISERROR(C9) は、FALSE を返します。
Tests for error conditions, including the #N/A error value, and returns TRUE or FALSE.
#N/A エラー値を含むエラー状態をテストし、TRUE または FALSE を返します。
ISERROR(Value)
ISERROR(値)
Value is or refers to the value to be tested. ISERROR() returns TRUE if there is an error and FALSE if not.
値 は、テストする値自体であるか、テストする値を参照します。ISERROR() は、エラーがある場合は TRUE、ない場合は FALSE を返します。
=ISERROR(C8) where cell C8 contains =1/0 returns TRUE, because 1/0 is an error.
1/0 はエラーなので、セル C8 に =1/0 が含まれる =ISERROR(C8) は、TRUE を返します。
=ISERROR(C9) where cell C9 contains =NA() returns TRUE.
セル C9 に =NA() が含まれる =ISERROR(C9) は、TRUE を返します。
Returns TRUE if a cell is a formula cell.
この関数は、セルに数式が含まれている場合に TRUE を返します。
ISFORMULA(Reference)
ISFORMULA(参照)
Reference indicates the reference to a cell in which a test will be performed to determine if it contains a formula.
参照 は、数式が含まれるかどうかを判断するためにテストが行われるセルへの参照を示します。
=ISFORMULA(C4) returns FALSE if the cell C4 contains the number 5.
セル C4 が数字 5 を含む場合、=ISFORMULA(C4) は FALSE を返します。
Tests for even numbers. Returns 1 if the number divided by 2 returns a whole number.
偶数のテスト。2 で割った数字が整数を返す場合、1 を返します。
ISEVEN_ADD(Number)
ISEVEN_ADD(数値)
Number is the number to be tested.
数値 は、評価する数字です。
=ISEVEN_ADD(5) returns 0.
=ISEVEN_ADD(5) は、0 を返します。
=ISEVEN_ADD(A1) returns 1 if cell A1 contains the number 2.
セル A1 が数字 2 を含む場合、=ISEVEN_ADD(A1) は 1 を返します。
Tests if the cell contents are text or numbers, and returns FALSE if the contents are text.
セルの内容がテキストまたは数値のどちらであるかを検査します。そして、セルの内容がテキストの場合に FALSE を返します。
If an error occurs, the function returns TRUE.
エラーが発生した場合、この関数は TRUE を返します。
ISNONTEXT(Value)
ISNONTEXT(値)
Value is any value or expression where a test is performed to determine whether it is a text or numbers or a Boolean value.
値 は、文字列または数値 (論理値) であるかどうかを検査する値または式です。
=ISNONTEXT(D2) returns FALSE if cell D2 contains the text abcdef.
セル D2 がテキスト abcdef を含む場合、=ISNONTEXT(D2 は FALSE を返します。
=ISNONTEXT(D9) returns TRUE if cell D9 contains the number 8.
セル D9 が数字 8 を含む場合、=ISNONTEXT(D9) は TRUE を返します。
Returns TRUE if the reference to a cell is blank. This function is used to determine if the content of a cell is empty. A cell with a formula inside is not empty.
セルの内容が空の場合に TRUE を返します。この関数は、セルの内容が空であるかどうかを検査します。数式が入っているセルは空ではありません。
ISBLANK(Value)
ISBLANK(値)
Value is the content to be tested.
値 は、空であるかどうかを検査する値です。
=ISBLANK(D2) returns FALSE as a result.
=ISBLANK(D2) は、結果として FALSE を返します。
Tests for a logical value (TRUE or FALSE).
TRUE または FALSE の論理値テストを行います。
If an error occurs, the function returns FALSE.
エラーが発生した場合、この関数は FALSE を返します。
ISLOGICAL(Value)
ISLOGICAL(値)
Returns TRUE if Value is a logical value (TRUE or FALSE), and returns FALSE otherwise.
値 が TRUE または FALSE の論理値の場合は TRUE、その他の場合は FALSE を返します。
=ISLOGICAL(99) returns FALSE, because 99 is a number, not a logical value.
99 は数字で論理値ではないので、=ISLOGICAL(99) は FALSE を返します。
=ISLOGICAL(ISNA(D4)) returns TRUE whatever the contents of cell D4, because ISNA() returns a logical value.
ISNA() は論理値を返すので、=ISLOGICAL(ISNA(D4)) は、セル D4 の内容にかかわらず TRUE を返します。
Returns TRUE if a cell contains the #N/A (value not available) error value.
この関数は、セルにエラー値 #N/A (使用できない値) が含まれている場合に TRUE を返します。
If an error occurs, the function returns FALSE.
エラーが発生した場合、この関数は FALSE を返します。
ISNA(Value)
ISNA(値)
Value is the value or expression to be tested.
値 は、検査する値または式です。
=ISNA(D3) returns FALSE as a result.
=ISNA(D3) は、結果として FALSE を返します。
Returns TRUE if the cell contents refer to text.
セル内容がテキストの場合、TRUE が返ります。
If an error occurs, the function returns FALSE.
エラーが発生した場合、この関数は FALSE を返します。
ISTEXT(Value)
ISTEXT(値)
Value is a value, number, Boolean value, or an error value to be tested.
値 は、文字列か数値かを検査する値です。
=ISTEXT(D9) returns TRUE if cell D9 contains the text abcdef.
セル D9 がテキスト abcdef を含む場合、=ISTEXT(D9) は TRUE を返します。
=ISTEXT(C3) returns FALSE if cell C3 contains the number 3.
セル C3 が数字 3 を含む場合、=ISTEXT(C3) は FALSE を返します。
Returns TRUE (1) if the number does not return a whole number when divided by 2.
数値を 2 で割った結果が自然数にならない場合に 1 を返します。
ISODD_ADD(Number)
ISODD_ADD(数値)
Number is the number to be tested.
数値 は、評価する数字です。
=ISODD_ADD(5) returns 1.
=ISODD_ADD(5) は、1 を返します。
Returns TRUE if the value refers to a number.
この関数は、検査値が数値の場合に TRUE を返します。
ISNUMBER(Value)
ISNUMBER(値)
Value is any expression to be tested to determine whether it is a number or text.
値 は、数値またはテキストのどちらであるかを検査する値です。
=ISNUMBER(C3) returns TRUE if the cell C3 contains the number 4.
セル C3 が数字 4 を含む場合、=ISNUMBER(C3) は TRUE を返します。
=ISNUMBER(C2) returns FALSE if the cell C2 contains the text abcdef.
セル C2 がテキスト abcdef を含む場合、=ISNUMBER(C2) は FALSE を返します。
Returns the numeric value of the given parameter. Returns 0 if parameter is text, FALSE or #NA.
特定のパラメータの数値を返します。パラメータがテキスト、FALSE、または #NA の場合は、0 を返します。
If an error occurs, other than #NA, the function returns the error value.
#NA 以外のエラーが発生した場合、この関数はエラー値を返します。
N(Value)
N(値)
Value is the parameter to be converted into a number. N() returns the numeric value if it can. It returns the logical values TRUE and FALSE as 1 and 0 respectively. It returns text and errors as 0.
値 は、数値に変換するパラメータです。N() は、可能であれば数値を返します。それぞれ 1 と 0 して、論理値 TRUE と FALSE を返します。テキストとエラーは、0 として返します。
=N(123) returns 123
=N(123) は、123 を返します。
=N(TRUE) returns 1
=N(TRUE) は、1 を返します。
=N(FALSE) returns 0
=N(FALSE) は、0 を返します。
=N("abc") returns 0
=N("abc") は、0 を返します。
=N(1/0) returns #DIV/0!
=N(1/0) は、#DIV/0! を返します。
Returns the error value #N/A.
この関数は、セルにエラー値 #N/A を入力します。
NA()
NA()
=NA() converts the contents of the cell into #N/A.
=NA() は。セルの内容を #N/A に変換します。
Returns the type of value.
値のデータ型を返します。
TYPE(Value)
TYPE(値)
Value is a specific value for which the data type is determined. Value 1 = number, value 2 = text, value 4 = Boolean value, value 8 = formula, value 16 = error value.
値 は、データ型を検査する値です。返される値は、1 = 数値、2 = テキスト、4 = ブール型、8 = 数式、16 = エラー値です。
=TYPE(C2) returns 2 as a result.
=TYPE(C2) は、結果として 2 を返します。
=TYPE(D9) returns 1 as a result.
=TYPE(D9) は、結果として 1 を返します。
Returns information on address, formatting or contents of a cell.
セルのアドレス、書式設定、または内容についての情報を返します。
CELL("InfoType"; Reference)
CELL("InfoType"; 参照)
InfoType is the character string that specifies the type of information. The character string is always in English. Upper or lower case is optional.
情報の種類 は、情報の種類を表す文字列です。この文字列は常に英語です。大文字または小文字は任意です。
|
InfoType
|
Meaning
|
|
COL
|
Returns the number of the referenced column.
=CELL("COL";D2) returns 4.
|
|
ROW
|
Returns the number of the referenced row.
=CELL("ROW";D2) returns 2.
|
|
SHEET
|
Returns the number of the referenced sheet.
=CELL("Sheet";Sheet3.D2) returns 3.
|
|
ADDRESS
|
Returns the absolute address of the referenced cell.
=CELL("ADDRESS";D2) returns $D$2.
=CELL("ADDRESS";Sheet3.D2) returns $Sheet3.$D$2.
=CELL("ADDRESS";'X:\dr\test.sxc'#$Sheet1.D2) returns 'file:///X:/dr/test.sxc'#$Sheet1.$D$2.
|
|
FILENAME
|
Returns the file name and the sheet number of the referenced cell.
=CELL("FILENAME";D2) returns 'file:///X:/dr/own.sxc'#$Sheet1, if the formula in the current document X:\dr\own.sxc is located in Sheet1.
=CELL("FILENAME";'X:\dr\test.sxc'#$Sheet1.D2) returns 'file:///X:/dr/test.sxc'#$Sheet1.
|
|
COORD
|
Returns the complete cell address in Lotus(TM) notation.
=CELL("COORD"; D2) returns $A:$D$2.
=CELL("COORD"; Sheet3.D2) returns $C:$D$2.
|
|
CONTENTS
|
Returns the contents of the referenced cell, without any formatting.
|
|
TYPE
|
Returns the type of cell contents.
b = blank. empty cell
l = label. Text, result of a formula as text
v = value. Value, result of a formula as a number
|
|
WIDTH
|
Returns the width of the referenced column. The unit is the number of zeros (0) that fit into the column in the default text and the default size.
|
|
PREFIX
|
Returns the alignment of the referenced cell.
' = align left or left-justified
" = align right
^ = centered
\ = repeating (currently inactive)
|
|
PROTECT
|
Returns the status of the cell protection for the cell.
1 = cell is protected
0 = cell is not protected
|
|
FORMAT
|
Returns a character string that indicates the number format.
, = number with thousands separator
F = number without thousands separator
C = currency format
S = exponential representation, for example, 1.234+E56
P = percentage
In the above formats, the number of decimal places after the decimal separator is given as a number. Example: the number format #,##0.0 returns ,1 and the number format 00.000% returns P3
D1 = MMM-D-YY, MM-D-YY and similar formats
D2 = DD-MM
D3 = MM-YY
D4 = DD-MM-YYYY HH:MM:SS
D5 = MM-DD
D6 = HH:MM:SS AM/PM
D7 = HH:MM AM/PM
D8 = HH:MM:SS
D9 = HH:MM
G = All other formats
- (Minus) at the end = negative numbers are formatted in color
() (brackets) at the end = there is an opening bracket in the format code
|
|
COLOR
|
Returns 1, if negative values have been formatted in color, otherwise 0.
|
|
PARENTHESES
|
Returns 1 if the format code contains an opening bracket (, otherwise 0.
|
Reference (list of options) is the position of the cell to be examined. If Reference is a range, the cell moves to the top left of the range. If Reference is missing, Office Calc uses the position of the cell in which this formula is located. Microsoft Excel uses the reference of the cell in which the cursor is positioned.
対象範囲 (オプション) は検査を行うセルの位置です。対象範囲 が範囲の場合は、左上のセル参照を入力します。対象範囲 が空白の場合、Office Calc はこの数式のあるセルを対象とみなします。Microsoft Excel は、カーソルが置かれたセルを対象とみなしています。